// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
//入口文件
console.log('OK')
import Vue from 'vue'
import App from './App'//导入APP组件
import router from './router'
import 'mint-ui/lib/style.css'
//按需导入mint-ui的组件
import { Header } from 'mint-ui';
Vue.component(Header.name, Header);


Vue.config.productionTip = false;
//导入mui的样式
import './lib/mui/css/mui.min.css'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,//将路由对象挂载到实例上
  components: { App },
  template: '<App/>'
})
